//
//  HomeBannerModel.m
//  
//
//  Created by 王长飞 on 2018/10/20.
//  Copyright © 2018年 王长飞. All rights reserved.
//

#import "EFStudyInfoModel.h"

@implementation EFStudyInfoModel

- (instancetype)initWithDelegate:(id<BaseModelProtocol>)Delegate cache:(BOOL)cache
{
    if (self = [super initWithDelegate:Delegate cache:cache]) {
        self.parseModelClass = [StudyInfoResponse class];
    }
    return self ;
}
- (void)getStudyInfoDataWith:(int)pageNum columnId:(NSString *)columnId
{
    NSMutableDictionary *parameters = [NSMutableDictionary dictionaryWithCapacity:4];
    [parameters setValue:columnId forKey:@"columnId"];
    [parameters setValue:@"1" forKey:@"type"];
    [parameters setValue:[NSString stringWithFormat:@"%d",pageNum] forKey:@"pageNum"];
    [parameters setValue:@"4" forKey:@"pageSize"];
    [self postPath:@"/xqn/app/information/listDefaultPage" parameters:parameters];
}

@end
